.class final Lcom/estrongs/io/archive/sevenzip/b$a;
.super Ljava/lang/Object;
.source "P7zipPluginDownloader.java"

# interfaces
.implements Les/y80;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/io/archive/sevenzip/b;->a(Ljava/lang/Runnable;Ljava/lang/String;[Z)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/io/File;

.field final synthetic b:[Z

.field final synthetic c:Landroid/app/Activity;

.field final synthetic d:Ljava/lang/String;


# direct methods
.method constructor <init>(Ljava/io/File;[ZLandroid/app/Activity;Ljava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->a:Ljava/io/File;

    iput-object p2, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->b:[Z

    iput-object p3, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->c:Landroid/app/Activity;

    iput-object p4, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->d:Ljava/lang/String;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Les/s80;Z)V
    .locals 2

    const-string p1, "ch_fail"

    const/4 v0, 0x0

    if-eqz p2, :cond_0

    .line 1
    :try_start_0
    new-instance p2, Ljava/io/File;

    iget-object v1, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->a:Ljava/io/File;

    invoke-virtual {v1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-direct {p2, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    const/4 v1, 0x1

    .line 2
    invoke-virtual {p2, v1, v1}, Ljava/io/File;->setExecutable(ZZ)Z

    move-result p2

    if-nez p2, :cond_1

    .line 3
    iget-object p2, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->b:[Z

    aput-boolean v0, p2, v0

    .line 4
    iget-object p2, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->c:Landroid/app/Activity;

    iget-object v1, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->d:Ljava/lang/String;

    invoke-static {p2, v1}, Lcom/estrongs/io/archive/sevenzip/b;->a(Landroid/app/Activity;Ljava/lang/String;)V

    .line 5
    invoke-static {p1}, Lcom/estrongs/io/archive/sevenzip/b;->a(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 6
    :catch_0
    iget-object p2, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->b:[Z

    aput-boolean v0, p2, v0

    .line 7
    iget-object p2, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->c:Landroid/app/Activity;

    iget-object v0, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->d:Ljava/lang/String;

    invoke-static {p2, v0}, Lcom/estrongs/io/archive/sevenzip/b;->a(Landroid/app/Activity;Ljava/lang/String;)V

    .line 8
    invoke-static {p1}, Lcom/estrongs/io/archive/sevenzip/b;->a(Ljava/lang/String;)V

    goto :goto_0

    .line 9
    :cond_0
    iget-object p1, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->b:[Z

    aput-boolean v0, p1, v0

    .line 10
    iget-object p1, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->c:Landroid/app/Activity;

    iget-object p2, p0, Lcom/estrongs/io/archive/sevenzip/b$a;->d:Ljava/lang/String;

    invoke-static {p1, p2}, Lcom/estrongs/io/archive/sevenzip/b;->a(Landroid/app/Activity;Ljava/lang/String;)V

    const-string p1, "cp_fail"

    .line 11
    invoke-static {p1}, Lcom/estrongs/io/archive/sevenzip/b;->a(Ljava/lang/String;)V

    :cond_1
    :goto_0
    return-void
.end method
